import request from '../utils/request';

/**
 * 项目分类
 */
export const tree = () => {
    return request({
        url: '/project/category/tree',
        method: 'post',
    });
};


/**
 * 保存项目信息
 */
export const save = (data) => {
    return request({
        url: '/project/save',
        method: 'post',
        data: data
    });
};


/**
 * 项目列表
 */
export const list = (data) => {
    return request({
        url: '/project',
        method: 'post',
        data: data
    });
};

